package net.bgraham.collectionbatcher;

import java.util.Collection;

/**
 * Implement this interface to receive callbacks from the Batcher once one
 * of the timeout conditions has occurred.
 * @param <T>
 */
public interface IBatchListener<T>
{
	void batchCollected(Collection<T> batch, boolean fullTimeoutHit);
}
